/**
 * 
 */
package edu.hadassah.store.uniqueid;

/**
 * @author persikov
 *
 */
public class UniqueId implements IUniqueId {
	
	private final String id;

	
	/**
	 * @param id
	 */
	public UniqueId(String id) {
		super();
		this.id = id;
	}

	/**
	 * @return
	 * @see edu.hadassah.store.uniqueid.IUniqueId#getIdAsString()
	 */
	public String getIdAsString() {
		return id;
	}

	/**
	 * Constructs a <code>String</code> with all attributes in name = value format.
	 *
	 * @return a <code>String</code> representation of this object.
	 */
	@Override
	public String toString() {
	    return getIdAsString();
	}


}
